#pragma once

#include <xpam/dsp/frame.h>

namespace xpam
{
    namespace dsp
    {
        class source
        {
        public:
            source();
            ~source();
        public:
            void go(frame & fr);
            void set_frame(frame & fr);
            static void avi_file(source & src, const std::string & filename);
        private:
            void * _callback;
            void * _graph;
        };
    }
}